package com.net.xpay.common.manager.partner;

import com.net.xpay.common.domain.partner.PartnerSettleRecord;
import com.net.xpay.common.model.search.PartnerSettleRecordSearchModel;
import com.net.common.manager.DomainManager;

import java.util.List;


public interface PartnerSettleRecordManager extends DomainManager<Long, PartnerSettleRecord> {

    List<PartnerSettleRecord> search(PartnerSettleRecordSearchModel searchModel);

    long searchCount(PartnerSettleRecordSearchModel searchModel);

    /**
     * 查询出某合伙人所有的未结算的统计记录
     * @param partnerId 合伙人id
     * @return 统计记录
     */
    List<PartnerSettleRecord> listNoSettled(Long partnerId);

    List<PartnerSettleRecord> listByIds(List<Long> ids);
}
